/*
 C o*pyright 2010 Mark Watkinson
 
 This file is part of SourceCodeHighlighter.
 
 FooSourceCodeHighlighterbar is free software: you can redistribute it and/or
 modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation, either version 3 of the License, or
 (at your option) any later version.
 
 SourceCodeHighlighter is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License
 along with SourceCodeHighlighter.  If not, see <http://www.gnu.org/licenses/>.
 
 */

/** NOTE: there exists a behavioural bug in certain combinations of monospace
 * and italicised fonts where the line's box height will 'gain' an extra pixel 
 * than normal monospace. This is seen on Windows IE, FF, Chrome (but not Opera,
 * which uses a different monospace font) where setting the italic property of 
 * any class will encourage the line numbering and the source to 'drift' out of 
 * sync. Line height does not fix this. Therefore, until an appropriate 
 * workaround is found, don't use italics in your stylesheets, or use a specific
 * monospace font which does not exhibit this behaviour (Opera uses 'consolas').
 */ 

/**
 * Some fonts will skew the line numbering
 */ 
.lms_code_container
{
  height:100%;
  position:relative;
  white-space:pre; 
  font-family: "Andale Mono", "Lucida Sans Typewriter", 
    "Bitstream Vera Sans Mono", "DejaVu Sans Mono", "FreeMono",  
    "Liberation Mono",  "Consolas","Lucida Console", monospace; 
  font-size:14px; 
  text-align:left;
}
.lms_line_number
{
  margin:0px;
  text-align:center;
}



.lms_generic
{
}


td.lms_linenos
{
  padding:0px;
  vertical-align:top;
  border-left:0px;
  border-top:0px;
  border-bottom:0px;
}
td.lms_lines
{
  padding:0px;
  border:0px;
  vertical-align:top;
  padding-left:1em;
  width:100%;
  white-space:pre;
  
}

table.lms_container
{
  border: 0px;
  height:100%;
  
  padding:0px;
  border-collapse:collapse;
}